home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / mochi_hungryplush.swf / scripts / frame_20 / PlaceObject2_139_174 / CLIPACTIONRECORD onClipEvent(load).as
Text File  |  2011-10-17  |  309b  |  18 lines

  1. onClipEvent(load){
  2.    if(_name != "enemyFish")
  3.    {
  4.       _yscale = xscale = scale;
  5.       if(left == 1)
  6.       {
  7.          speed *= -1;
  8.          _xscale = xscale;
  9.          _X = Stage.width + _width;
  10.       }
  11.       else
  12.       {
  13.          _xscale = - xscale;
  14.          _X = - _width;
  15.       }
  16.    }
  17. }
  18.